package com.xueyi.system.application.domain.po;

import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xueyi.common.core.web.tenant.base.TBaseEntity;
import com.xueyi.system.application.domain.dto.BaseQualityApplicationDto;
import com.baomidou.mybatisplus.annotation.TableField;
import com.xueyi.common.core.annotation.Excel;

/**
 * 检验申请 持久化对象
 *
 * @author xueyi
 */
@TableName(value = "base_quality_application", excludeProperty = {"sort"})
public class BaseQualityApplicationPo extends TBaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 检验编码
     */
    @Excel(name = "检验编码")
    @TableField("code")
    private String code;

    /**
     * 检验类别
     */
    @Excel(name = "检验类别")
    @TableField("category")
    private String category;

    /**
     * 检验部门
     */
    @Excel(name = "检验部门")
    @TableField("iqc_dept")
    private String iqcDept;

    /**
     * 批号
     */
    @Excel(name = "批号")
    @TableField("batch_num")
    private String batchNum;

    /**
     * 来源
     */
    @Excel(name = "来源")
    @TableField("origin")
    private String origin;

    /**
     * 申请时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField("apply_date")
    private LocalDateTime applyDate;

    /**
     * 请验日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "请验日期", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField("verify_date")
    private LocalDateTime verifyDate;

    /**
     * 请验部门
     */
    @Excel(name = "请验部门")
    @TableField("verify_dept")
    private String verifyDept;

    /**
     * 请验人
     */
    @Excel(name = "请验人")
    @TableField("verify_personnel")
    private String verifyPersonnel;

    /**
     * 检品规格
     */
    @Excel(name = "检品规格")
    @TableField("spces")
    private String spces;

    /**
     * 检品数量
     */
    @Excel(name = "检品数量")
    @TableField("inspect_num")
    private String inspectNum;

    /**
     * 状态(1启用 2停用)
     */
    @Excel(name = "状态(1启用 2停用)")
    @TableField("status")
    private String status;


    public LocalDateTime getApplyDate() {
        return applyDate;
    }

    public void setApplyDate(LocalDateTime applyDate) {
        this.applyDate = applyDate;
    }

    public LocalDateTime getVerifyDate() {
        return verifyDate;
    }

    public void setVerifyDate(LocalDateTime verifyDate) {
        this.verifyDate = verifyDate;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getCategory() {
        return category;
    }

    public void setIqcDept(String iqcDept) {
        this.iqcDept = iqcDept;
    }

    public String getIqcDept() {
        return iqcDept;
    }

    public void setBatchNum(String batchNum) {
        this.batchNum = batchNum;
    }

    public String getBatchNum() {
        return batchNum;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getOrigin() {
        return origin;
    }

    public void setVerifyDept(String verifyDept) {
        this.verifyDept = verifyDept;
    }

    public String getVerifyDept() {
        return verifyDept;
    }

    public void setVerifyPersonnel(String verifyPersonnel) {
        this.verifyPersonnel = verifyPersonnel;
    }

    public String getVerifyPersonnel() {
        return verifyPersonnel;
    }

    public void setSpces(String spces) {
        this.spces = spces;
    }

    public String getSpces() {
        return spces;
    }

    public void setInspectNum(String inspectNum) {
        this.inspectNum = inspectNum;
    }

    public String getInspectNum() {
        return inspectNum;
    }

    @Override
    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String getStatus() {
        return status;
    }

}
